const sceneCodeRouter = {
  path: 'scene-Code',
  name: 'sceneCode',
  component: () => import('@/views/operate/index'),
  redirect: '/operation/scene-Code/scene-Code',
  hidden: true,
  meta: { title: '场景二维码' },
  children: [
    {
      path: 'scene-Code',
      name: 'sceneCode',
      noCache: false,
      meta: { title: '场景二维码' },
      component: () => import('@/views/operate/sceneCode/codeList/index')
    },
    {
      path: 'edit-code',
      name: 'editCode',
      noCache: true,
      meta: { title: '编辑场景二维码' },
      component: () => import('@/views/operate/sceneCode/operation-code')
    },
    {
      path: 'add-code',
      name: 'addCode',
      noCache: true,
      meta: { title: '新增场景二维码' },
      component: () => import('@/views/operate/sceneCode/operation-code')
    },
    {
      path: 'code-data',
      name: 'codeData',
      noCache: true,
      meta: { title: '二维码数据' },
      component: () => import('@/views/operate/sceneCode/codeData')
    }
  ]
}

export default sceneCodeRouter
